package com.swu.dto;

import jakarta.validation.constraints.Max;
import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class DiagnosisDTO {
    @NotNull(message = "诊断类型不能为空")
    @Min(value = 1, message = "诊断类型代码不正确")
    @Max(value = 3, message = "诊断类型代码不正确")
    private Integer diagnosisType;

    @NotBlank(message = "诊断名称不能为空")
    private String diagnosisName;

    @NotBlank(message = "疾病编码不能为空")
    private String diagCode;

    @Min(value = 1, message = "入院病情代码不正确")
    @Max(value = 4, message = "入院病情代码不正确")
    private Integer admissionStatus;

    private String pathologyNumber;
} 